/**
 * Created by rongyao on 2017/10/31.
 */
var express = require('express');
var router = express.Router();

var dataContrl = require('../controller/uploadController');
/* GET users listing. */

router.post('/upload/:cateId',dataContrl.upload);//增加

router.delete('/data/:id',dataContrl.remove);//删除
router.post('/list',dataContrl.list);//查询

router.post('/deletes',dataContrl.deletes);//删除多个



module.exports = router;

